Skip to main content

All Questions

Tagged with
0votes
1answer
98views

Find scheduling conflicts within a timetable

Following task: I'm given a timetable containing several classes that have a weekday, as well as an hour at which they start and end. Also, they have a room assigned and are part of a curriculum for ...
Andrew Bailey's user avatar
0votes
1answer
88views

Spring Boot Bank Application with Secure Transactions and Account Management

I need some insights on my bank application written with Spring Boot. Specifically on the transactions aspect and anything I missed out. TransactionEntity.java<...
theProgrammer's user avatar
1vote
1answer
88views

[Spring Boot][REST] Design Pattern Best Practice (Single Entity, multiple business logic implementations)

I have some problems regarding best-practice design between data source layer(Entity), domain layer(Service) and presentation layer (controller): I have one entity with a type field in the database to ...
user287004's user avatar
5votes
2answers
422views

Springboot - Authentication Service

I am developing a Web application using Spring boot (I am a beginner). How can I make my code better? This code is from "AuthenticationService.java". I first made an interface for defining ...
RudraSama's user avatar
1vote
0answers
51views

Java multithreading with Spring JPA

I have to improve a process that is currently sequential, and i wanna make it multi-thread. This process uses Spring JPA, with spring boot 2 and java 17. I would like to have a feedback on the ...
Fabio Piunti's user avatar
0votes
0answers
86views

Securing microservices with Spring Security JWT

I would like to build a RESTful microservices architecture where each microservice acts as a resource server. Additionally, there will be an authorization server responsible only for user registration,...
yaroslav96's user avatar
1vote
1answer
77views

Rate limiting WebFilter

It's a simple WebFilter for limiting RPS from one of my projects. There's only one OOB BucketResolver that has one shared bucket ...
Sergey's user avatar
2votes
2answers
536views

Using java streams to handle incoming API requests

I am using the java stream API to handle incoming requests my employee service. A few questions I had are: Does using the streams API in the way I'm using it below affect the performance of the ...
Brandon Bryan's user avatar
2votes
1answer
57views

Any possible issues with my approach to Access Management where I'm associating the list of Departments with the User class?

I have a spring boot project with JWT being used for Spring Security. I want to implement Access Management in my project and I'm using this approach. In my project, whenever a user is created, a list ...
Joe's user avatar
  • 23
4votes
2answers
117views

Choosing between field injections and constructor injections for modular Java applications with Spring Boot

I'm six months into a Java training program and have developed a Spring Boot application, adhering to Java's separation of concerns principle. I've organized my application with distinct sections for ...
Kerem Tazedal's user avatar
2votes
2answers
121views

Simple authentication server

Here's a simple authentication server. It's pretty basic but has the core functionality of sign-up and log-in handling. Your best bet is to simply run the ...
Sergey's user avatar
1vote
1answer
423views

Inserting large number of rows into database with Spring boot

I need to insert many million rows + many GB of data into a database for a project that uses Spring boot. I recreated a minimal example with a one to many relationship and am trying to find the ...
Pux's user avatar
  • 155
0votes
2answers
60views

How to find a more effective way to load a file and compare in the service

I have a malware detection system that includes a subsystem responsible for IBAN checks. Initially, this subsystem needs to load and parse data from a specific URL. Subsequently, it checks whether the ...
Nesly's user avatar
1vote
0answers
79views

Todo application using Spring Boot 3, Dockerized Postgres, Java 17, Maven

I'd like to have code review for backend of todo app. It has 2 main functionalities: Authentication and authorization using Spring Security and JWT token. CRUD for tasks In particular I'd like to ...
J.Olufsen's user avatar
1vote
1answer
380views

About self validated Java POJOs

I am currently experimenting with self validating Java beans in order to avoid the creation of objects with invalid states, while keeping the validation knowledge inside the bean. The goals I have in ...
silver_mx's user avatar

153050per page
close